/*    */ package com.evitch.csvtrade.cmd;
/*    */ 
/*    */ public class AppliedPrice
/*    */ {
/* 49 */   public static final AppliedPrice PRICE_CLOSE = new AppliedPrice(0);
/*    */   public static final int _PRICE_CLOSE = 0;
/* 54 */   public static final AppliedPrice PRICE_OPEN = new AppliedPrice(1);
/*    */   public static final int _PRICE_OPEN = 1;
/* 59 */   public static final AppliedPrice PRICE_HIGH = new AppliedPrice(2);
/*    */   public static final int _PRICE_HIGH = 2;
/* 64 */   public static final AppliedPrice PRICE_LOW = new AppliedPrice(3);
/*    */   public static final int _PRICE_LOW = 3;
/* 69 */   public static final AppliedPrice PRICE_MEDIAN = new AppliedPrice(4);
/*    */   public static final int _PRICE_MEDIAN = 4;
/* 74 */   public static final AppliedPrice PRICE_TYPICAL = new AppliedPrice(5);
/*    */   public static final int _PRICE_TYPICAL = 5;
/* 79 */   public static final AppliedPrice PRICE_WEIGHTED = new AppliedPrice(6);
/*    */   public static final int _PRICE_WEIGHTED = 6;
/*    */   public int val;
/*    */ 
/*    */   private AppliedPrice(int val)
/*    */   {
/* 83 */     this.val = val;
/*    */   }
/*    */   public static AppliedPrice getAppliedPrice(int val) {
/* 86 */     switch (val) {
/*    */     case 0:
/* 88 */       return PRICE_CLOSE;
/*    */     case 1:
/* 89 */       return PRICE_OPEN;
/*    */     case 2:
/* 90 */       return PRICE_HIGH;
/*    */     case 3:
/* 91 */       return PRICE_LOW;
/*    */     case 4:
/* 92 */       return PRICE_MEDIAN;
/*    */     case 5:
/* 93 */       return PRICE_TYPICAL;
/*    */     case 6:
/* 94 */       return PRICE_WEIGHTED;
/* 95 */     }return null;
/*    */   }
/*    */ }

/* Location:           C:\Users\froge\workspace\jfx126_bin\lib\jfx.jar
 * Qualified Name:     com.jfx.AppliedPrice
 * JD-Core Version:    0.6.0
 */